<?php

/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Badge
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */

class Badge_Form_Admin_Manage_Edit extends Badge_Form_Admin_Manage_Create {
	public function init() {
		parent::init ();
		$this->setTitle ( 'Edit Badge' )->setDescription ( 'Edit your badge below, then click "Save Changes" to save your badge.' );
		
		$this->photo->setLabel ( 'New Badge Photo' );
		$this->photo->setDescription ( 'Leave it blank if you want to keep existing photo.' );
		$this->photo->setRequired ( false );
		
		//print_r($this->photo->getValidators());
		

		$this->submit->setLabel ( 'Save Changes' );
	}
}